<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
    <h1>快滚去登录</h1>
    <div th:if="${param.error}"> Invalid username and password.</div>
    <div th:if="${param.logout}"> You have been logged out.</div>
    <form th:action="@{/login}" method="post">
        <div>
            <label>
                <input type="text" name="username" placeholder="Username"/>
            </label>
        </div>
        <div>
            <label>
                <input type="password" name="password" placeholder="Password"/>
            </label>
        </div>
        <input type="submit" value="登录" />
    </form>
</body>
</html>